package cn.youqu.happy.module.youqu.controller.app.userComment.vo;

import cn.youqu.happy.framework.common.validation.NullOrNotEmpty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;

@ApiModel("用户 APP - 用户回复创建 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AppUserCommentCreateReqVO extends AppUserCommentBaseVO {
    @ApiModelProperty(value = "回复内容")
    @NotEmpty(message = "评论内容不能为空")
    private String comment;

    @ApiModelProperty(value = "回复id")
    @NullOrNotEmpty(message = "回复id 不能为空")
    private Integer pid;
}
